package com.pan.seed;

import com.alibaba.druid.support.json.JSONUtils;
import com.alibaba.fastjson.JSONObject;
import com.pan.anno.Seed;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

import java.io.Serializable;
import java.util.Map;

/**
 * @author by panstark
 * @description
 * @notice
 * @date 2021/4/29
 */
@Seed
@Slf4j
@Setter
@Getter
public class Jone extends People implements Serializable {
    private String wife;
    private String child;

    private void sayNoInMyHeart(){
        log.info("hello, I am Jone. I am introducing myself.Actually,I don't want say anything.");
    }
    public static void main(String[] args) {
        Jone j1= new Jone();
        Jone j2 = new Jone();
        j2.name="wowo";
        j1.name="你好呀";
        System.out.println(j1.equals(j2));
        System.out.println(j1==j2);

        System.out.println(JSONObject.toJSONString(j1));
    }




}
